<template>
  <div class="NodeInfo">


    <div class="NodeInfo-counterSign"
      v-if="conf.properties && conf.properties.counterSign">
      <el-tag size="small" type="success">
        会签
      </el-tag>
    </div>
    <div class="NodeInfo-counterSign"
      v-if="conf.properties && conf.properties.counterSign === false">
      <el-tag size="small" type="danger">
        或签
      </el-tag>
    </div>
    <div class="NodeInfo-id">
      <div>
        id：{{ conf.nodeId }}
      </div>
      <el-divider direction="vertical"></el-divider>
      <div>
        pre：{{ conf.prevId }}
      </div>
    </div>
  </div>

</template>
<script setup name="NodeInfo">
const props = defineProps({
  conf: {
    type: Object,
    default: () => undefined
  },
})



</script>
<style scoped lang="scss">
.NodeInfo {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  margin-left: 12px;
  color: #9e9e9e;
  margin-top: 4px;

  .NodeInfo-id {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    padding-bottom: 6px;
  }

  .NodeInfo-counterSign {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    padding-bottom: 6px;
  }
}
</style>
